﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using dhSystemBLL.orderData;
using dhDataAcess.orderLinqDAL;

namespace dhsystem.orderForm
{
   
    public partial class FrmPbomMark : Form
    {
        
        public FrmPbomMark()
        {
            InitializeComponent();
        }

        private void FrmPbomMark_Load(object sender, EventArgs e)
        {
            textPname.Focus();
            toolStripStatusLabel1.Text = "数据总条数:" +dGridPbomMark . RowCount.ToString() + "条";
        }

        private void FrmPbomMark_Resize(object sender, EventArgs e)
        {
            if (groupAdd.Visible == true)
            {
                groupAdd.Location = new Point(groupList.Width + 20, groupList.Top);
            }
        }

        private void buttonQuery_Click(object sender, EventArgs e)
        {

        }
        //datagridview第一列显示行号
        private void dGridPbomMark_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e)
        {
            e.Row.HeaderCell.Value = string.Format("{0}", e.Row.Index + 1);
        }

        private void toolDel_Click(object sender, EventArgs e)
        {

        }

        private void toolQuery_Click(object sender, EventArgs e)
        {

        }
    }
}
